Skip to content

Commit

Permalink
[TD]add blank space for legibility
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed May 11, 2022
1 parent 7dc145c commit 3ceb5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/TechDraw/Gui/CommandExtensionDims.cpp
Expand Up @@ -1910,7 +1910,7 @@ void execCreateHorizChamferDimension(Gui::Command* cmd) {
float alpha = round(abs(atan(dy / dx)) * Pi180);
std::string sAlpha = std::to_string((int)alpha);
std::string formatSpec = dim->FormatSpec.getStrValue();
formatSpec = formatSpec + "x" + sAlpha + "°";
formatSpec = formatSpec + " x" + sAlpha + "°";
dim->FormatSpec.setValue(formatSpec);
objFeat->requestPaint();
cmd->getSelection().clearSelection();
Expand Down Expand Up @@ -1979,7 +1979,7 @@ void execCreateVertChamferDimension(Gui::Command* cmd) {
float alpha = round(abs(atan(dx / dy)) * Pi180);
std::string sAlpha = std::to_string((int)alpha);
std::string formatSpec = dim->FormatSpec.getStrValue();
formatSpec = formatSpec + "x" + sAlpha + "°";
formatSpec = formatSpec + " x" + sAlpha + "°";
dim->FormatSpec.setValue(formatSpec);
objFeat->requestPaint();
cmd->getSelection().clearSelection();
Expand Down

0 comments on commit 3ceb5fa

Please sign in to comment.